package edu.guet.server.model.dto;

import edu.guet.server.model.User;
import lombok.Data;

@Data
public class TeamTeacherDTO {
    Integer course_id;
    Integer user_id;//被添加的老师id
    String username;//真实姓名
    String phone_num;
    String email;
    String img_url;//头像

    public void copyUser(User user) {
        this.username = user.getUsername();
        this.img_url = user.getImg_url();
    }
}
